package com.edu.policy.init;

import lombok.RequiredArgsConstructor;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.stream.Collectors;

@Component
@RequiredArgsConstructor
public class ScheduledServer {

    // 定时任务，每天晚上零点执行
    @Scheduled(cron = "0 0 0 * * ?")
    public void updateMemberCount() {

    }
}
